Remove call to flush due to JuliaLang/julia#2020 . Closes #2