diff --git a/src/Connection/Connection.php b/src/Connection/Connection.php
index <HASH>..<HASH> 100644
--- a/src/Connection/Connection.php
+++ b/src/Connection/Connection.php
@@ -116,7 +116,7 @@ class Connection implements ConnectionInterface
 
         $response = $this->getResponse();
 
-        if ($command->isMultiLine()) {
+        if ($command->isMultiLine() && ($response->getStatusCode() >= 200 && $response->getStatusCode() <= 399)) {
             $response = $command->isCompressed() ? $this->getCompressedResponse($response) : $this->getMultiLineResponse($response);
         }
Multiline response only on success

Only process a multiline response when the command was successful.

Without this certain commands hang while waiting for a multiline
response that never comes such as a BODY command that returns a <I> or
an XOVER command without selecting a group first (<I>).