Bugfixes
    - Fixed bug with shutdown.
 Bugfixes
    - Fixed bug when shutdown is called with arguments.