Stop pooling for repository status when server is disconnected and start once is reconnected