Additional documentation and logging
Add Javadoc for stop() method