Protect your callbacks with a timeout