Remove trailing whitespace
Only trigger timeout timer when we have a callback