Did some more testing, documented here
http://sourceforge.net/tracker/index.php?func=detail&aid=1028105&group_id=12694&atid=112694
Briefly, the sleeps have nothing to do with it. It only takes two entries to make it fail. If you have one monitor line, it generates a bogus trap then fails. If you have two monitor lines, the contents are reversed, one returns integers, the other returns Strings.
It's all very strange.
This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed.
