better traps; handle broken pipes (head)