Add failing test when skipping directory setup
Fix connection error when connecting too fast

Fixes issue when skipping directory setup (reusing the base dir with
`auto_start => 1` option) refuses connection because postmaster is not
fully started.
Merge pull request #7 from m1ch4ls/master

Fix when reusing the base_dir and connecting too fast