Remove bridge on socket close.
More useful log on error