Fix ensure sends data after executing handlers.