Fix ensure postgresql is running