Cleanup some jack server interactions
* src/media/sound-jack.c (sound_jack_subthread_create): Properly
close the client upon failure to complete subthread create.
* src/media/sound-jack.c (sound_jack_play): Improve
logging. Properly return status code of 0 upon success and 1 on
failure. Also cleanup the device data of the job.
* src/media/sound-jack.c (sound_jack_change_state): properly set
the state of the job upon start. Add code to the log of the
unknown event message.
* src/media/sound-jack.c (sound_jack_process): Lock the job while
processing the jack requests. Debug log the play state when draining
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>