Fix the problem that runs a soup server with the default context while it is executed on other thread.