[PATCH] Machine: fix timeout handling