execute stdin commands. server socket sometimes not closed correct. has to be fixed.