fixing reconnect; PIN sent every 45 seconds;  fixes #17