Tasks can be deployed in any order. This needed significant changes in the connection setup and event handling code.