Don't deadlock on file error