fixed connection type for signal slots in the same thread, caused segfault due to core switching by os