suppressWarning is added for thread.stop() function as it is deprecated
in java7

Signed-off-by: Sanjay Madnani <http://sanjaymadnani.wordpress.com/>