fixed bug: broken connection after timeout when mars is disabled