Added a cap in case the value in seconds given is too high.