add start and stop discovering in monitoring exit and enter

Signed-off-by: Andrea Corna <andrea.corna.ac.91@gmail.com>