attempting to fix bug that crashes program on timeout