Fixed a bug with async credit/deposite operations