uwsgi_thrift_async_processor: Fixed dispose lock handling and test cleanup