Fixed thread sleep interruption exception