handle not able to send commands immediately after client creation