The variable timeGap is meant to be in seconds, but is passed to Thread.sleep() function which expects its argument to be in milliseconds.
            
- duplicates
- 
                    JDK-8027348 (process) Enhancement of handling async close of ProcessInputStream -           
- Resolved
 
-