How to check the status of a transfer