[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.3.x@1541779 13f79535-47bb-0310-9956-ffa450edef68