Revert "Revert "Add a check to avoid sending sync messages while handling async messages""

This reverts commit 06baab59808ae75880618bc5fdeb13e09019d685.
Fix trap_Rocket_GetProperty