CXX-40 fix for flaky scoped_db_conn_test

Add SetUp section which waits for listener
Move some shutdown logic into TearDown
Merge pull request #9 from TylerBrock/fix-flakey

CXX-40 fix for flaky scoped_db_conn_test