Implementing reconnect in phone and listeners module