handlers with callback are now called via setTimeout(), others executed immediately