Addressing race condition in SimpleAsyncHTTPClients _on_timeout()