Throws InterruptedException
read this blog. it is very detailed.http://www.yegor256.com/2015/10/20/interrupted-exception.html