Add the option to not reconnect when losing connection
References #13