015b71c
Close the DB session in one place for all hooks Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>