quiesce: use shutdown() or pipe signaling to ensure select() is aborted

otherwise we might hang forever in select()