[droid] inform main activity about termination of connection