Pass -w to pg_ctl so that it waits for server to start