ensure putting the filediscriptor in blocking mode

when accessing it using the synchronous read/write implementation