Replace method annotation with self timeout: in case travis is not capable of processing annotations.