Revert "Use virtual inheritance for the io and timer task"

This reverts commit 0ec5adf6fd480ac45471aaf725c3b7f9cb1ff536.