handle sender in separate thread fix compatibility for android