Use "add_done_callback()" instead of a hook
Use "add_done_callback()" instead of a hook

This is the preferred way to add a callback to a future.

In addition, use functools.partial to send the inchikey
and user to the callback function.

Signed-off-by: Patrick Avery <743342299f279e7a8c3ff5eb40671fce3e95f13a@kitware.com>

OpenChemistry/mongochemserver