Updated process.scm to close process handles to prevent runaway number of open pipes