handle timeout - fix this way later