Terminate sacctmgr on stdin EOF