Why is my transaction taking so long to complete?