fix busy-wait for messages so computing agents don't hog CPU