I had same experience
but I knew from day one this hiring is for a multi-year project. When it finished, the company arranged another position for me. In your case, it means your job is for that client. If that client no longer use the service, the company may or may not have another position for you.