Catch the exceptions occuring in the ZeroMQ layer to avoid application crashing as much as possible (issue #30).