[Engine(-IRC)] Fixed race condition of Session.ProtocolManagers (closes ...

...#877)