Before returning service available, make sure port is connectable

Well if you can't execute psql, we can't check if it's available right?