Removes the listener. A change already on its way to the main thread is dropped, so called on the main thread, the listener is not called after this returns. Safe to call more than once, from any thread.