Adding reconnect if it needs to after forking