rem: for(uint32 tries = 0; tries < timeout; tries++) { if(!has_data(find_thread(NULL))) { snooze(1000); continue; }
add: for(uint32 tries = 0; tries < timeout; tries += 5) { if(!has_data(find_thread(NULL))) snooze(5000); else break;
context: receive_data_with_timeout(thread_id *sender, int32 *code, void *buffer,	size_t buffer_size, uint32 timeout){	for(uint32 tries = 0; tries < timeout; tries++) {		if(!has_data(find_thread(NULL))) {			snooze(1000);			continue;		}	}		if(has_data(find_thread(NULL))) {		*code = receive_data(sender, buffer, buffer_size);		return B_OK;	} else		return B_TIMED_OUT;}