Handle bad response routes
Free requests if they are notifications.
Fix memory leaks