Fix hanging FileSink tests

- Throw RuntimeException instead of returning false after waitFor timesout