@DBNet, as you said it works for 5 minutes then I assume you have set everything correctly.
The general reason of dropping connection is because of power. What power adapter are you using? Can you use a more powerful one, e.g. 5V2A.