how to deal with rejection gracefully