properly close the zmq context to avoid socket garbage collector issue. thanks to @minrk on this one