Use the Force Quit menu under the Apple logo in the menu bar to close apps ... then click the "Force Quit" button. In almost all cases, the app in question will close immediately.