java file now non blocking