monetdbd hangs from Python subprocess