fix the memory leak of ZMQ direct io server implementation

Change-Id: I3c2d62d2381f8c68fe5df2b4ca6c1bb4ed2ebe0f