Null cursor handled the way it was discussed. Added one more usage of the mongo semaphor, in onTimeIntervalThread.cpp