added sleep to gdb