debug freezing of gui after x minutes