Printing timeout fix