Crawler bug fixed

Bug: crawler does not stop after the connection is lost with the master