Fix when test_finished callback runs for android web tests

Before we were waiting until profile information was saved, etc. which
could potentially delay things unacceptably...