Tested Reconnection and fixed bugs, bot now actually reconnects
automatically