Iphone black screen for minutes, won't turn off?

My jailbroken iPhone 4S is on black screen for 10 minutes at least, won't turn on but takes screenshots and Siri, this happened after I tried to launch an app after it crashed. What can I do? I'm freaking out? I don't have any tweaks or anything.

Added (1). It worked!

Press the power button and the home button at the same time for 20 seconds… It will reset the phone and it will come back on