Catching send exception