add check if process has not terminated immediately after start 

As pointed out by Michele a test for a process id is not sufficient.


Immediately after launch we dont expect the process to close, if it does then something went wrong (omxplayer executable not found or the file to be played back is not found). In this cases an exitCode exists.

The pipe will be deleted on close event without any condition.

Jira-issue: WP-1106