MX plugin wait file: fixed bug when plugin timed out before timeout waiting for file