Adding a check to ensure postgres service is running after it's
installation before moving onto the installation of JON