add tPostgresqlClose to subjobs