moved timer init to connect and cancel on disconnect