Trying to stop the thread.
Small Changes