Handle exception
Remove pending