shell: Handle socket send error in listen mode

Disconnect client on socket send error and stop callback dispatch.