Fix non-blocking server