Cleaned up som debug and changed the behaviour when bos thinks too long