Allow for diffrent timeouts to mmclock
Added last error constant