bugfix: an offline OP would leak all its sockets and stop working