ensure connection, get rid of startup ping, and flushes