Added mutex locking to zctx socket list