fix for TESB-9642,
postConnectAction.process(null); moved to connect() method because it tried to register endpoints during connection. register and connect are synchronized methods and thats why we had lock
Merge branch 'master' of github.com:Talend/tesb-rt-se