added ability to disconnect and stop advertising