Polling now signals ERR on all sockets when nn_term() is called

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>