Fixes issue with prompt not stopping execution of code