added try catch to friend request.