Master now stops waiting for genmove response if all children have returned response(NOT TESTED PROPERLY)

Also fixed bug where a slave connection termination led to infinite async_read calls.