Added thread to suspend running for a second