diff --git a/pipenv/vendor/delegator.py b/pipenv/vendor/delegator.py
index <HASH>..<HASH> 100644
--- a/pipenv/vendor/delegator.py
+++ b/pipenv/vendor/delegator.py
@@ -112,7 +112,7 @@ class Command(object):
         if self.subprocess.before:
             result += self.subprocess.before
 
-        if self.subprocess.after and self.subprocess.after is not pexpect.EOF:
+        if self.subprocess.after and self.subprocess.after not in (pexpect.EOF, pexpect.TIMEOUT):
             try:
                 result += self.subprocess.after
             except (pexpect.EOF, pexpect.TIMEOUT):
Fix can not concatenate str and type error during locking