[test] Fix broken integration tests
[test] Add test for async execution of the `connection` event.
[doc] Added information about the new async execution
[dist] 2.4