remove receive message delayed handling
clean up code
removed unused variable
Merge pull request #338 from utvara/master

remove receive message delayed handling