init tnonblocking