Close suffers from a Process.join method bug. Will be commented once the bug is fixed.