Added basic error handling for transfers and listing tasks