fix deadlock happens in lifecyclelistener and add note about blocking calls
Merge pull request #2987 from eminn/fix/lifecycle-event-deadlock

fix deadlock happens in lifecyclelistener and add note about blocking ca...