Bluetooth HC-06 disconnects after a few minutes.

Don't think it's a coincidence. every time I send signals to the BT, it keeps the connection alive. And the moment I don't do anything for ~20 seconds, it disconnects.

Also, I forgot to mention that I have been unsuccessful at sending any AT commands. Following the instructions on the big internet.