Don't hardcode 5 here, there is a setting that defines the timeout that should be used.