Any railroad company which becomes entitled to a conveyance of any lands from the state shall apply therefor and accept a conveyance from the state within six (6) months after completion of the act by which it became entitled to the conveyance. Any company which fails to do so within the time aforesaid shall forfeit all lands for which it fails to apply within such time.