Fix THIRTY_SECONDS constant to be 30,000 milliseconds, rather than the
equivalent to 30 minutes.