Added onReset method on iOS to do cleanup when the page reloads, any ongoing scan is stopped and conencted devices are disconnected and deallocated.