Fix 'reload' throwing eof error