use single future per connectReliably call + refactor newlinehandler => simpleentryhandler