Handle InterruptedException