Fix some long standing compiler warnings.
Wait for server to up until timeout, then fail.