diff --git a/src/Keboola/Syrup/Command/JobCommand.php b/src/Keboola/Syrup/Command/JobCommand.php
index <HASH>..<HASH> 100644
--- a/src/Keboola/Syrup/Command/JobCommand.php
+++ b/src/Keboola/Syrup/Command/JobCommand.php
@@ -170,6 +170,7 @@ class JobCommand extends ContainerAwareCommand
             $status = self::STATUS_RETRY;
 
         } catch (MaintenanceException $e) {
+            $jobResult = [];
             $jobStatus = Job::STATUS_WAITING;
             $status = self::STATUS_LOCK;
         } catch (UserException $e) {
fix: return job status to waiting when maintenance occurs