add timeout to debug server