Handle timeout in GenericRunner