[KARAF-2437]Logs still have been printed into console after log:tail and Ctrl + C

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