If a file is playing and you press stop then playback will stop but the file will remain open/loaded (rewinded to the start). If you press stop again (while not playing) then the file will be closed/unloaded. If you would like to stop and close with a single key press then that's possible by setting a "Current track - Stop" shortcut twice (in the "Shortcuts" options page).