scd: Fix RESET command handling.
* scd/app.c (release_application_internal): Remove. (release_application): Merge release_application_internal. (app_reset): Kick the loop and let close the reader. Sleep is required here to wait closing. (scd_update_reader_status_file): When APP is no use, close it.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>