do not fork when worker = 1
close connection for wrong request
testcases added