on end postgres and http listener are both stopped