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

git-svn-id: https://svn.apache.org/repos/asf/karaf/branches/karaf-2.x@1541780 13f79535-47bb-0310-9956-ffa450edef68