Make specs a bit more reliable

by not creating new contexts for every example and allow some time for zmq to cleanup between examples.