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

...lls. Fixes #2401
thanks for the hint. will update that.