stop with a timeout when disposing