pass to call method if socket is not connected