Passing KOMA options through the classes leads to compilation getting stuck

When using dokumentoptions that are passed through like twoside or fontsize=11pt, the compliations hangs when loading tocbasic.sty