fix problem with Singleton Repositories are not being cleared after each
test
split start so that client can explicitly open and close channels
port was missing when building session