Allow to return code when creating ZeroMQ river