Only wait and close fenceFds if there's factually one

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #203 from stskeeps/sync_wait

Only wait and close fenceFds if there's factually one