added timeout for client receivng strings