also listen for OSError