How to end task?

Just wondering how to end task/close an app that isn't responding.

I read on apple.com/support that you had to hold down home for 6 seconds but that seems pre-3.0.
We got ya covered!

http://www.theiphoneblog.com/2009/06/13/force-quit-iphone-30/

Quick answer -- hold down sleep/wake button until "slide to power off" appears. Then hold down home button until all apps force quit
Oh wow... The one and only Rene answered my question? I'm blushing.. Lol j/k

Thank You!

Original thread: https://forums.imore.com/threads/how-to-end-task.174260/