Fix idle handling in the worker callback monitor.
Merge pull request #92 from jpirkey/jpirkey-fix-pear-idle-handling-in-monitor-callback

Fix pear idle handling in monitor callback