Equivalent of setting "receive timeout" value on ZMQ socket

I’m wondering if there’s an idiomatic way of setting a timeout for recv(socket)?