Modified stop() method to interrupt command processing thread so that the thread quits when the bundle stops.