diff --git a/_pydev_bundle/pydev_console_utils.py b/_pydev_bundle/pydev_console_utils.py
index <HASH>..<HASH> 100644
--- a/_pydev_bundle/pydev_console_utils.py
+++ b/_pydev_bundle/pydev_console_utils.py
@@ -420,6 +420,7 @@ class BaseInterpreterInterface:
                         thread.interrupt_main()
                     else:
                         self.mainThread._thread.interrupt()  # Jython
+            self.finish_exec(False)
             return True
         except:
             traceback.print_exc()
Tests: fix async execution in console

(cherry picked from commit a<I>)