This Fixes #1028

Added code to stopping the processing icon in case of any error.