always close connection
stop checking pg health
stop writing to postgres