[KARAF-2552]we need catch InterruptedException during sleep ensure the printThread shutdown cleanly

git-svn-id: https://svn.apache.org/repos/asf/karaf/trunk@1541781 13f79535-47bb-0310-9956-ffa450edef68