Yield while processing DB notification queue

Yield while processing DB notification(Run_Notify) queue so DBTask does not hog CPU. Added test-case to verify the same.