Add function to check the neighbor is connected
Update event_handler
Change self_pid and requestor_pid to client_pid