fixed segfault by closing jack client (replaced to async close client method)