Development

Added reconnect in case of timeout. Have not had a chance to specifically test the code other than testing that a working connection still works.