Stops discovering devices if connection is lost.
Fixes #16 Stops discovering services if connection is lost.