core: sleeping policy has been added in case of empty message queue (sleep interval changes gradually from 1 to 1000 usecs)