Swipe up from the bottom of the screen and hold the app while letting go to close it. On the app, swipe up once more. The procedure is the same as for dismissing a single app. But slide up from left to right at the end and click the “delete all” button on the left.