how to stop pending transaction