Is there anyways to automate this? I find if I leave the connection open too long I have to reconnect, I would like it to maybe try and reconnect on its own if the connection is lost.