Deleting data after sending it asynchroneously