By default log to outstream
Fix many semaphore issues
Accept incoming connections