Polling Sensor Working only in Debug mode

I have a created a Polling sensor few days ago which worked fine till last friday. Today i notice the Polling sensor is not polling.

I have run it in Debug mode and the sensor is polling until i exit the Debug mode. once i exit the Debug mode it stops polling.

Its kind of Weird behavior. Could anyone help me with resolving this issue.