Close tty on error before handler

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
diff --git a/utils.go b/utils.go
index 159f0d5..fe52b1b 100644
--- a/utils.go
+++ b/utils.go
@@ -308,6 +308,7 @@
 	}
 
 	if err := container.Start(process); err != nil {
+		tty.Close()
 		return -1, err
 	}
 
@@ -315,6 +316,7 @@
 		if err := createPidFile(pidFile, process); err != nil {
 			process.Signal(syscall.SIGKILL)
 			process.Wait()
+			tty.Close()
 			return -1, err
 		}
 	}