Allow specification of a reconnect period
Refactor reconnect timer setup/clear into own functions