Exiting Resample Causes OS Freeze

This happens when i stop resampling in the middle of the process. Basically, terminiting the resampling will cause os to freeze and a complete shutdown is necessary to fix issue.