eliminated state sender thread in the brick in order to avoid synchronization problems