fix synchronous call to async method EmailBackend.close