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.