Abort pgbench if script end is reached with an open pipeline