Fix: settype doesnt return the new value, it update the variable
Fix: setConnection with the correct classname && Add: closeAll()