resetting the connections if pbrpc is disconnected