Fix connection and signal destructors