Received Thread will now exit itself if it set both values to true