Fixed gen_tcp:recv case bug. Default timeout set to 8 sec.