made traffic-bot-client more robust, fixed minor bug in getPath