How to run AppiumDriverLocalService (AppiumServer) in daemon thread

When I run AppiumDriverLocalService from my program, I am not able to continue on my test as the server blocked the further operation.

Do anyone know how can we run AppiumDriverLocalService as daemon and get its object for stopping later?