Fixed issue where Simba continues to run in the background even after closing all windows